﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoffeManagement
{
    class DanhMucNL
    {
        //auther name: Dinh Phuoc Viet
        //module name : Danh muc Nguyen Lieu
        //date:20/02/2017
        //updateLast: null
        //nội dung của đoạn code : set , get va ham tao
        private string MaNL, TenNL;
        private int soluong;
        DanhMucNL()
        {
            this.MaNL = null;
            this.TenNL = null;
            this.soluong = 0;
        }
        DanhMucNL(String MaNL, String TenNL, int soluong)
        {
            this.MaNL = MaNL;
            this.TenNL = TenNL;
            this.soluong = soluong;
        }
        void setMaNL(string nl1)
        {
            this.MaNL = nl1;
        }
        void setTenNL(string nl2)
        {
            this.TenNL = nl2;
        }
        void setsoluong(int sl)
        {
            this.soluong = sl;
        }
        string getMaNL(){ return this.MaNL; }
        string getTenNL(){ return this.TenNL; }
        int getsoluong(){ return this.soluong; }
    }
}
